enum AppStoreTransactionOfferType {
  regular,
  introductory,
  promotional,
  subscriptionCode,
}

extension AppStoreTransactionOfferTypeX on AppStoreTransactionOfferType {
  bool get isRegular => this == AppStoreTransactionOfferType.regular;

  bool get isIntroductory => this == AppStoreTransactionOfferType.introductory;

  bool get isPromotional => this == AppStoreTransactionOfferType.promotional;

  bool get isSubscriptionCode => this == AppStoreTransactionOfferType.subscriptionCode;
}
